package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2022-09-30
 */
@Data
@TableName("Price_Unit")
@ApiModel(value = "PriceUnitDO对象", description = "")
public class PriceUnitDO implements Serializable {


    private static final long serialVersionUID = -5901625065270083855L;
    @ApiModelProperty("价格单位")
    private String unitName;

    @ApiModelProperty("创建人")
    private Long unitCreator;

    @ApiModelProperty("创建时间")
    private LocalDateTime unitCreatetime;

    @ApiModelProperty("修改人")
    private Long unitUpdater;

    @ApiModelProperty("修改时间")
    private LocalDateTime unitUpdatetime;

    @ApiModelProperty("是否失效")
    private Integer unitInvalid;

    @ApiModelProperty("备注")
    private String unitComments;

    @TableId(value = "Unit_ID", type = IdType.AUTO)
    private Long unitId;

    private Long optStatus;


}
